package com.jingjin.humanityservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingjin.humanityservice.mapper.ChatSessionMapper;
import com.jingjin.humanityservice.mapper.DailySentenceMapper;
import com.jingjin.humanityservice.service.AIChatService;
import com.jingjin.humanityservice.service.DailySentenceService;
import com.jingjin.model.humanity.po.ChatSession;
import com.jingjin.model.humanity.po.DailySentence;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class DailySentenceServiceImpl extends ServiceImpl<DailySentenceMapper, DailySentence> implements DailySentenceService {

    @Resource
    private DailySentenceMapper dailySentenceMapper;

    @Override
    public DailySentence getRandom() {
        return dailySentenceMapper.getRandom();
    }
}
